﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TeachingAffairsManagementSystem.UserControl.LeftNavbar
{
    public partial class StudentLeftNavbar : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            switch (Request.QueryString["p"])
            {
                case "ml":
                    LMyLesson.Attributes.Add("class","active");
                    break;
                case "lm" :
                    LLessonMarket.Attributes.Add("class","active");
                    break;
                case "info":
                    LInfo.Attributes.Add("class","active");
                    break;
            }
        }
    }
}